<div class="row border pt-3 mb-3">
    @foreach($chatMessages as $chatMessage)
        @livewire('chat-message', ['chatMessage' => $chatMessage], key('chat-message-' . $chatMessage->id))
    @endforeach
</div>
<div class="row">
    <div class="col-12 mb-3">
        <input type="text" class="form-control" id="message"
               wire:model="message">
    </div>
</div>
